
// 添加好友查询 {"id":"1111","名称":"25"}
// @ts-ignore
export async function execute(client_id, message_json) {
    let id = Number(message_json["id"]);
    let name = message_json["名称"];
    let send_data = [];
    for (const [key, characters] of _CharactersData) {
        if (key === id || characters["名称"] === name) {
            send_data = [characters["名称"], key, characters["等级"], characters["门派"]];
            break;
        }
    }
    if (send_data.length === 0) {
        ClientUtils.send_basic_prompt(client_id, "#Y角色不存在或当前未在线")
        return;
    }
    ClientUtils.send_client_message(client_id, 51, send_data);
}
